package com.zsc.wxm.ysh.anjo.house.model;

import com.zsc.wxm.ysh.anjo.service.base.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/3/9 23:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Images对象", description="合约")
public class Promise extends BaseModel {
    private static final long serialVersionUID = -2144185904483779018L;

    @ApiModelProperty("房源id")
    private Long houseId;

    @ApiModelProperty("合约状态：1签约中、2履约中、3已结束")
    private Integer status;

    @ApiModelProperty("客户id")
    private Long rentUserId;

    @ApiModelProperty("房东id")
    private Long userId;

    @ApiModelProperty("合约结束时间")
    private LocalDateTime endTime;

}
